#6666666666666666666666666
a_range = range(10)#取0到9，range(0,10,1)
a_list = [x*x for x in a_range]
print(a_list)#[0, 1, 4, 9, 16, 25, 36, 49, 64, 81]

b_list = [x*x for x in a_range if x%2 == 0]
print(b_list)#[0, 4, 16, 36, 64]

c_list = [(x,y) for x in a_list if x<10 for y in b_list if y<10]
print(c_list)#[(0, 0), (0, 4), (1, 0), (1, 4), (4, 0), (4, 4), (9, 0), (9, 4)]



